package com.example.demo.PrototypeMode;

public class Client2 {

    public static void main(String[] args) {

        Thing2 thing = new Thing2();
        thing.setValue("张三");
        Thing2 clone = thing.clone();
        clone.setValue("李四");
        System.out.println(thing.getValue());
    }
}
